/*
**************************************

caohongyan    about while
20200811

*/


#include<iostream>
using namespace std;

int main()
{

	int num = 0;


	while (num < 10)
	{
		cout << num << endl;
		num++;
	}

	system("pause");

	return 0;
}
